import Vue from 'vue'
import App from './App.vue'
import Poros from 'poros'
import PorosUI from 'poros/ui'
import 'poros/ui/style.js'
import router from './router'
import store from './store'
import system from './config/system'
import './utils/http'
import './styles/common.less'
import './styles/global.less'
import './styles/ant-rewrite.less'
import SvgIcon from '@/components/svg-icon'
import fPopup from '@/components/jeecgbiz/fxPopup'
import fxTablePopup from '@/components/jeecgbiz/fxTablePopup'
import fSwitch from '@/components/switch'
import "@c/register";
// Vue.config.productionTip = false
// if  (process.env.NODE_ENV  ==  'development')  {  
  Vue.config.devtools  =  true;
// } 
// else  {  
//   Vue.config.devtools  =  false;
// }
Vue.use(SvgIcon)
Vue.prototype.evBus = new Vue()
Vue.use(Poros, {
  system: Object.assign(system, {
    logo: require('./config/logo.png')
  }),
  store
})
Vue.use(PorosUI)
Vue.component('fPopup', fPopup)
Vue.component('fxTablePopup', fxTablePopup)
Vue.component('fSwitch', fSwitch)




new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')